<div id="tripManagementPanel">
<h2 class="span-13" style="background-color: #ccf">Danh sách chuyến</h2>

<!-- Search form -->
<?php 
echo $this->searchForm;
?>

<!-- Table -->
<?php if($this->paginator != null) { ?>
<div id="route-pagination" class="span-13">
<?php echo $this->paginationControl($this->paginator, 'Sliding', 'partials/_pagination.phtml'); ?>
</div>
<table class="rounded-corner span-20" id="routeTable">
	<thead>
		<tr>
			<th scope="col" class="rounded-left">Thao tác</th>
			<th scope="col" >Mã số</th>
			<th scope="col">Tuyến</th>
			<th scope="col" >Giờ đi</th>
			<th scope="col">Giờ đến</th>
			<th scope="col" class="rounded-right">Giá vé</th>			
		</tr>
	</thead>
	<tfoot>
    	<tr>
        	<td colspan="4" class="rounded-foot-left"></td>
        	<td class="rounded-foot-right">&nbsp;</td>
        </tr>
	</tfoot>
	<tbody>
		<?php echo $this->partialLoop('partials/_trip-row.phtml', $this->paginator)?>
	</tbody>
</table>
<?php } else { ?>
<p>Không có chuyến nào</p>
<?php  } ?>
<div>
	<div class="span-2 large"><a href="/admin/trip/create">Tạo chuyến</a></div>
	<div class="span-4 large"><a href="/admin/trip/create-multiple">Tạo chuyến hàng loạt</a></div>
</div>
</div>